package com.xtedu.examproject.entity;

import java.io.Serializable;
import java.util.Date;

public class ClassRoom implements Serializable {
    private int id;
    private String name;
    private int subjectId;

    public ClassRoom(int id, String name, int subjectId) {
        this.id = id;
        this.name = name;
        this.subjectId = subjectId;
    }

    public ClassRoom() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    @Override
    public String toString() {
        return "ClassRoom [id=" + id + ", name=" + name + ", subjectId=" + subjectId + "]";
    }
}
